home *** CD-ROM | disk | FTP | other *** search
/ Swimwear Illustrated / Swimwear Illustrated.iso / mac / MAIN8 / KELLI8.DIR / 00026_Script_26 < prev    next >
Text File  |  1996-02-22  |  676b  |  38 lines

  1. on startmovie
  2.   global spplace 
  3.   put 50 into spplace
  4.   put 1 into f
  5. end startmovie
  6.  
  7. on getroll
  8.   repeat with x = 6 to 9
  9.     if rollover(x) then exit repeat
  10.   end repeat
  11.   if rollover(x) then return x
  12.   else return 50
  13. end if
  14. end getroll
  15.  
  16.  
  17. on rollme
  18. global spplace
  19. if not soundbusy(1) then
  20. sound stop 1
  21. sound playfile 1, "kelli.aif"
  22. end if
  23.  
  24. put getroll() into spplace
  25.  
  26. if spplace <> 50 then
  27. repeat with group = 6 to 9
  28. SET the VISIBLE OF sprite group+4 to false
  29. end repeat
  30. SET the VISIBLE OF sprite spplace+4 to true
  31. else
  32. repeat with group = 6 to 9
  33. SET the VISIBLE OF sprite group+4 to false
  34. end repeat
  35. end if
  36. UPDATESTAGE
  37. go loop
  38. end rollme